package nc.ui.pn.cust;

import nc.ui.bill.pub.FlowManageEventHandler;
import nc.ui.pub.beans.UIDialog;
import nc.ui.trade.controller.IControllerBase;
import nc.ui.trade.manage.BillManageUI;

public class ClientEventHandler extends FlowManageEventHandler {

	public ClientEventHandler(BillManageUI billUI, IControllerBase control) {
		super(billUI, control);
	}

	@Override
    protected UIDialog createQueryUI() {
        return new ClientUIQueryDlg(getBillUI(), null, _getCorp()
                .getPrimaryKey(), getBillUI().getModuleCode(), _getOperator(),
                null, null);
    }
     
	@Override
	protected String getHeadCondition() {
		return " pk_corp ='"+_getCorp().getPrimaryKey()+"'";
	}
	
}
